package com.dingreading.cloud.admin.service;

import com.dingreading.cloud.admin.entity.ProjectType;
import com.dingreading.cloud.common.util.PageUtil;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2023-11-22
 */
public interface ProjectTypeService extends IService<ProjectType> {

    Page<ProjectType> pageList(PageUtil pageUtil, String keyword);

    long getSameNameCnt(Long id, String name);

    List<ProjectType> getList(String name);

}
